//
// Created by Administrator on 2023/10/5.
//

#include <iostream>
#include <vector>
#include "arrUtil.h"
using namespace std;

int main()
{
    vector<int> a={8,7};
    randVector(a,1000);
    for (int i = 0; i < a.size()-1; ++i)
    {
        int j = i+1, cur=a[j];
        while(j>0 and cur<a[j-1])
        {
            a[j]=a[j-1];
            --j;
        }
        a[j]=cur;
    }
//    printVector(a);
    cout<<checkSortVector(a);
    return 0;
}